home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
outlndrg
/
readme.txt
< prev
Wrap
Text File
|
1994-04-13
|
764b
|
18 lines
Outlndrg: How to Drag and Drop From a Outline Control to a List Box
The sample OTLN_DRG.MAK project contains the files OTLN_DRG.FRM and
MSOUTLIN.VBX.
The idea of the sample is to demonstrate how to drag an item from a Outline
control and drop it into a List box.
You first want to select an entry(ie Item #1-4) in the Outline control by
clicking on a Item # X and holding the left mouse down. Once an item has been
selected and the mouse is held down, drag to your right toward the List box
and let the left mouse button up. Notice, if you select an Item # X that
contains a subitem you get a mggbox displayed.
You can continue the same sequence with different Item # X's, but the only
one that can be dropped in the List box is Item # 4.